package com.ctvit.sjk.knowledge.document.pojo.dto;

import com.ctvit.sjk.knowledge.paragraph.pojo.dto.ParagraphCreateDTO;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 文档批量创建DTO
 *
 * @author heyingcheng
 * @date 2025/03/25
 */
@Getter
@Setter
@ToString
public class DocumentBatchCreateDTO {

    /**
     * 文档名称
     */
    private String name;

    /**
     * 分段列表
     */
    @JsonProperty("paragraphs")
    private List<ParagraphCreateDTO> paragraphList;

}
